import React,{useContext} from "react";
import{useRoutes}from 'react-router-dom'

import {observer}from 'mobx-react-lite'
import Routes from './routes/index'
import './App.css'
function App() {
    let routes = useRoutes(Routes);
// console.log(routes);

    return <div className='App'>
         {routes}
    </div>
}

export default observer(App)



